﻿<UserControl x:Class="SPNetworkTopology.ExternalWindows.View.SPListSummaryView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="15"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="15"/>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="15"/>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="15"/>
            <RowDefinition Height="*"></RowDefinition>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"></ColumnDefinition>
            <ColumnDefinition Width="7"></ColumnDefinition>
            <ColumnDefinition Width="*"></ColumnDefinition>
        </Grid.ColumnDefinitions>

        <Border Grid.ColumnSpan="2" ></Border>

        <TextBlock Text="Site URL " Grid.Row="1"></TextBlock>
        <TextBlock Text=": " Grid.Row="1" Grid.Column="1"></TextBlock>
        <TextBlock Text="{Binding Path=SiteName}" Grid.Row="1" Grid.Column="2" Padding="5,0,0,0"></TextBlock>

        <TextBlock Text="List Name " Grid.Row="3"></TextBlock>
        <TextBlock Text=": " Grid.Row="3" Grid.Column="1"></TextBlock>
        <TextBlock Text="{Binding Path=ListName}" Grid.Row="3" Grid.Column="2" Padding="5,0,0,0"></TextBlock>

        <TextBlock Text="List Column " Grid.Row="5"></TextBlock>
        <TextBlock Text=": " Grid.Row="5" Grid.Column="1"></TextBlock>
        <ListBox ItemsSource="{Binding Path=SPColumnCollection}" Grid.Row="5" Grid.Column="2" Background="{x:Null}" BorderBrush="{x:Null}" MaxHeight="175">
            <ListBox.ItemTemplate>
                <DataTemplate>
                    <TextBlock Text="{Binding}"></TextBlock>
                </DataTemplate>
            </ListBox.ItemTemplate>
        </ListBox>

        <Border Grid.Row="6"></Border>

    </Grid>
</UserControl>
